var requireConfig = {
    baseUrl: '../../../web/resource/js/app',
    paths: {
        'datetimepicker': '../../components/datetimepicker/jquery.datetimepicker',
        'daterangepicker': '../../components/daterangepicker/daterangepicker',
        'colorpicker': '../../components/colorpicker/spectrum',
        'map': 'https://api.map.baidu.com/getscript?v=2.0&ak=F51571495f717ff1194de02366bb8da9&services=&t=20140530104353',
        'qqmap': 'https://map.qq.com/api/js?v=2.exp',
        'webuploader': '../../components/webuploader/webuploader.min',
        'fileUploader': '../../components/fileuploader/fileuploader.min',
        'clockpicker': '../../components/clockpicker/clockpicker.min',
        'district': '../lib/district',
        'moment': '../lib/moment',
        'emoji': '../../components/emoji/emoji',
        'fontawesome': '../../components/fontawesome/fontawesome',
        'material': '../../components/fileuploader/fileuploader.min',
        'trade': '../../components/trade/trade',
        'hammer': '../lib/hammer.min',
        'bootstrap.switch': '../../components/switch/bootstrap-switch.min',
        'filestyle': '../lib/bootstrap-filestyle.min',
        'validator': '../lib/bootstrapValidator.min',
        'jquery.ui': '../lib/jquery-ui-1.10.3.min',
        'jquery.caret': '../lib/jquery.caret',
        'jquery.jplayer': '../../components/jplayer/jquery.jplayer.min',
        'jquery.zclip': '../../components/zclip/jquery.zclip.min',
        'jquery.wookmark': '../lib/jquery.wookmark.min',
        'jquery.qrcode': '../lib/jquery.qrcode.min',
        'underscore': '../lib/underscore-min',
        'biz': '../lib/biz',
        'swiper': '../../components/swiper/swiper.min',
        'echarts': '../lib/echarts.min',
        // 滚动条
        'slimscroll': '../lib/jquery.slimscroll.min',
        //兼容
        'util': '../../../../addons/deam_food/static/js/app/util',
        'ueditor': '../../components/ueditor/ueditor.all.min',
        'angular': '../lib/angular.min',
        'angular.sanitize': '../lib/angular-sanitize.min',
        'angular.hotkeys': '../lib/angular.hotkeys',
        'loadcss': '../lib/loadcss.min',
        //加载CSS
        'css': '../lib/css.min',
        //加载CSS
        /*复制组件（部分浏览器不兼容flash）*/
        'clipboard': '../lib/clipboard.min',
        /*单选多选组件 待完善*/
        'we7.check': '../lib/we7.check',
        'loadjs': '../lib/loadjs',
        //加载CSS
        'jszip': '//cdn.bootcss.com/jszip/3.1.5/jszip',
        'fileSaver': '//cdn.bootcss.com/FileSaver.js/2014-11-29/FileSaver'

    },
    shim: {
        'ueditor': {
            deps: ['./resource/components/ueditor/third-party/zeroclipboard/ZeroClipboard.min.js', './resource/components/ueditor/ueditor.config.js'],
            exports: 'UE',
            init: function(ZeroClipboard) {
                //导出到全局变量，供ueditor使用
                window.ZeroClipboard = ZeroClipboard;
            }
        },
        'util': {
            exports: 'util',
        },
        'daterangepicker': {
            deps: ['moment', 'loadcss!../../components/daterangepicker/daterangepicker.css']
        },
        'datetimepicker': {
            deps: ['loadcss!../../components/datetimepicker/jquery.datetimepicker.css']
        },
        'colorpicker': {
            deps: ['loadcss!../../components/colorpicker/spectrum.css']
        },
        'map': {
            exports: 'BMap'
        },
        'jquery.wookmark': {
            exports: "$",
        },
        'jquery.ui': {
            exports: "$",
        },
        'jquery.caret': {
            exports: "$",
        },
        'bootstrap': {
            exports: "$",
        },
        'bootstrap.switch': {
            deps: ['loadcss!../../components/switch/bootstrap-switch.min.css'],
            exports: "$",
        },
        // 'fileUploader': {
        // 	deps: ['webuploader', 'jquery.jplayer', 'loadcss!../../components/webuploader/webuploader.css', 'loadcss!../../components/webuploader/style.css']
        // },
        'clockpicker': {
            exports: '$',
            deps: ['loadcss!../../components/clockpicker/clockpicker.min.css']
        },
        'district': {
            exports: '$'
        },
        'jquery.toast': {
            deps: ['loadcss!../../components/toast/toastr.min.css']
        },
        'emoji': {
            deps: ['loadcss!../../components/emoji/emotions.css']
        },
        'fontawesome': {
            deps: ['loadcss!../../components/fontawesome/style.css']
        },
        'angular': {
            exports: 'angular',
            deps: ['jquery']
        },
        'angular.sanitize': {
            exports: 'angular',
            deps: ['angular']
        },
        'angular.hotkeys': {
            exports: "angular",
            deps: ['angular']
        },
        'chart': {
            exports: 'Chart'
        },
        'swiper': {
            deps: ['loadcss!../../components/swiper/swiper.min.css'],
        },
    }
};
require.config(requireConfig);